package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 最近交易对象 t_app_recent_transactions
 * 
 * @author ruoyi
 * @date 2025-04-23
 */
public class TAppRecentTransactions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 对方账户姓名 */
    @Excel(name = "对方账户姓名")
    private String accountName;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private String tradeAmount;

    /** 交易日期 */
    @Excel(name = "交易日期")
    private String transactionDate;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }

    public void setTradeAmount(String tradeAmount) 
    {
        this.tradeAmount = tradeAmount;
    }

    public String getTradeAmount() 
    {
        return tradeAmount;
    }

    public void setTransactionDate(String transactionDate) 
    {
        this.transactionDate = transactionDate;
    }

    public String getTransactionDate() 
    {
        return transactionDate;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accountName", getAccountName())
            .append("tradeAmount", getTradeAmount())
            .append("transactionDate", getTransactionDate())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .toString();
    }
}
